<?php

class LinkButton extends EasyUIMenuButton {

    /************************************************************************
     ************************** PUBLIC FUNCTIONS ****************************
     ************************************************************************/

    public function __construct($text = null) {
        parent::__construct($text);
    }


    /**
     * creates the button with available options
     * @return        string        $output
     */
    public function create() {
        $output = '<a ';
        $output .= $this->getIdTag();
        $output .= 'class="easyui-linkbutton" ';
        $output .= $this->getDataOptionTag();
        $output .= $this->getActionTag();
        $output .= $this->getStyleTag();
        $output .= '>' . $this->getText() . '</a>';
        return $output;
    }
    
    
    public function __toString(){
    	return $this->create();
    }
}

?>